package com.assignwork.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName VoyageBillCabinSubmitDTO
 * @Description 舱单信息提交DTO
 * @Author dujianyu
 * @Date 2023/8/25 8:29
 */
@Data
public class VoyageBillCabinSubmitDTO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "ID")
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "票元数据ID")
    private Long sourceId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "航次ID")
    private Long voyageId;

    @ApiModelProperty(value = "票号")
    private String billNo;

    @ApiModelProperty(value = "舱key")
    private String cabinKey;

    @ApiModelProperty(value = "货名")
    private String cargoName;

    @ApiModelProperty(value = "包装类型")
    private String cargoPackage;

    @ApiModelProperty(value = "货件")
    private Integer cargoPiece;

    @ApiModelProperty(value = "货吨")
    private BigDecimal cargoTon;

    @ApiModelProperty(value = "作业吨")
    private BigDecimal workTon;

    @ApiModelProperty(value = "甩吨")
    private BigDecimal remainder;

    @ApiModelProperty(value = "是否完成")
    private Integer isFinish;

}
